﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Data;
using System.Data.SqlClient;
using QLCONGNOLIBS.Securities;
using QLCONGNOLIBS.Models;
using QLCONGNOLIBS.Models.EntityFW;

namespace QLCONGNOLIBS.Controllers
{
    public class UsersControllers : BaseControllers<tblUser>
    {       
        public UsersControllers(SqlConnection objConnection, SecurityEntity objSecurity)
                : base(objConnection, objSecurity){ }

        public override DataTable ExecOfGetElements()
        {
            return m_objUserModels.GetElements();
        }

        public override DataTable ExecOfCheckElement(tblUser obj)
        {
            return m_objUserModels.CheckElement(obj);
        }
    }    
}
